<!-- templates/user/sidebar.html -->
<nav class="user-sidebar">
    <ul>
        <li class="{eq name='active' value='profile'}active{/eq}">
            <a href="/user/profile">个人资料</a>
        </li>
        <li class="{eq name='active' value='edit'}active{/eq}">
            <a href="/user/edit">编辑资料</a>
        </li>
        <li class="{eq name='active' value='security'}active{/eq}">
            <a href="/user/security">安全设置</a>
        </li>
    </ul>
</nav>